package com.woniu.payback_font.entity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Api(value = "用户信息表 UserMessage")
public class UserMessage implements Serializable {
    @ApiModelProperty(value = "id")
    private Integer umId;

    @ApiModelProperty(value = "用户id")
    private String umUid;

    @ApiModelProperty(value = "用户姓名")
    private String umName;

    @ApiModelProperty(value = "婚姻状况，1已婚，0未婚")
    private Integer umIsmarried;

    @ApiModelProperty(value = "省市区+详细地址")
    private String umAddress;

    @ApiModelProperty(value = "关联职业类型表 t_profession_type")
    private Integer umProfessionTypeId;

    @ApiModelProperty(value = "职业类型bean t_profession_type表")
    private ProfessionType professionType;

    @ApiModelProperty(value = "公司名称")
    private String umCompanyName;

    @ApiModelProperty(value = "月收入0-4； 区间范围（  <3k 0 ;3k-5k  1;   5k-8k 2;  8k-12k  3; >12k  4）")
    private BigDecimal umSalary;

    @ApiModelProperty(value = "紧急联系人手机号")
    private String umImportantPersonPhone;

    @ApiModelProperty(value = "紧急联系人姓名")
    private String umImportantPersonName;

    @ApiModelProperty(value = "与联系人的关系")
    private String umRelation;

    @ApiModelProperty(value = "身份证")
    private String umIdcard;

    @ApiModelProperty(value = "银行卡号，此处关联t_bankcard")
    private String umBankcard;

    @ApiModelProperty(value = "银行卡bean，t_bankcard表")
    private List<Bankcard> bankcard;

    @ApiModelProperty(value = "是否通过认证：0否  1待审核 2通过")
    private Integer umIspass;

    @ApiModelProperty(value = "实名认证时间，同时也是合同时间")
    private Date umInsertTime;

    @ApiModelProperty(value = "信用分")
    private Integer umScoer;

    @ApiModelProperty(value = "日利率")
    private Long umDateRate;

    @ApiModelProperty(value = "年利率")
    private Long umYearRate;

    @ApiModelProperty(value = "信用额度")
    private Long umCreditLimit;

    @ApiModelProperty(value = "身份证正面图片地址")
    private String umIdcardFacade;

    @ApiModelProperty(value = "身份证反面图片地址")
    private String umIdcardNegative;


    public ProfessionType getProfessionType() {
        return professionType;
    }

    public void setProfessionType(ProfessionType professionType) {
        this.professionType = professionType;
    }

    public List<Bankcard> getBankcard() {
        return bankcard;
    }

    public void setBankcard(List<Bankcard> bankcard) {
        this.bankcard = bankcard;
    }

    public Integer getUmId() {
        return umId;
    }

    public void setUmId(Integer umId) {
        this.umId = umId;
    }

    public String getUmUid() {
        return umUid;
    }

    public void setUmUid(String umUid) {
        this.umUid = umUid;
    }

    public String getUmName() {
        return umName;
    }

    public void setUmName(String umName) {
        this.umName = umName;
    }

    public Integer getUmIsmarried() {
        return umIsmarried;
    }

    public void setUmIsmarried(Integer umIsmarried) {
        this.umIsmarried = umIsmarried;
    }

    public String getUmAddress() {
        return umAddress;
    }

    public void setUmAddress(String umAddress) {
        this.umAddress = umAddress;
    }

    public Integer getUmProfessionTypeId() {
        return umProfessionTypeId;
    }

    public void setUmProfessionTypeId(Integer umProfessionTypeId) {
        this.umProfessionTypeId = umProfessionTypeId;
    }

    public String getUmCompanyName() {
        return umCompanyName;
    }

    public void setUmCompanyName(String umCompanyName) {
        this.umCompanyName = umCompanyName;
    }

    public BigDecimal getUmSalary() {
        return umSalary;
    }

    public void setUmSalary(BigDecimal umSalary) {
        this.umSalary = umSalary;
    }

    public String getUmImportantPersonPhone() {
        return umImportantPersonPhone;
    }

    public void setUmImportantPersonPhone(String umImportantPersonPhone) {
        this.umImportantPersonPhone = umImportantPersonPhone;
    }

    public String getUmImportantPersonName() {
        return umImportantPersonName;
    }

    public void setUmImportantPersonName(String umImportantPersonName) {
        this.umImportantPersonName = umImportantPersonName;
    }

    public String getUmRelation() {
        return umRelation;
    }

    public void setUmRelation(String umRelation) {
        this.umRelation = umRelation;
    }

    public String getUmIdcard() {
        return umIdcard;
    }

    public void setUmIdcard(String umIdcard) {
        this.umIdcard = umIdcard;
    }

    public String getUmBankcard() {
        return umBankcard;
    }

    public void setUmBankcard(String umBankcard) {
        this.umBankcard = umBankcard;
    }

    public Integer getUmIspass() {
        return umIspass;
    }

    public void setUmIspass(Integer umIspass) {
        this.umIspass = umIspass;
    }

    public Date getUmInsertTime() {
        return umInsertTime;
    }

    public void setUmInsertTime(Date umInsertTime) {
        this.umInsertTime = umInsertTime;
    }

    public Integer getUmScoer() {
        return umScoer;
    }

    public void setUmScoer(Integer umScoer) {
        this.umScoer = umScoer;
    }

    public Long getUmDateRate() {
        return umDateRate;
    }

    public void setUmDateRate(Long umDateRate) {
        this.umDateRate = umDateRate;
    }

    public Long getUmYearRate() {
        return umYearRate;
    }

    public void setUmYearRate(Long umYearRate) {
        this.umYearRate = umYearRate;
    }

    public Long getUmCreditLimit() {
        return umCreditLimit;
    }

    public void setUmCreditLimit(Long umCreditLimit) {
        this.umCreditLimit = umCreditLimit;
    }

    public String getUmIdcardFacade() {
        return umIdcardFacade;
    }

    public void setUmIdcardFacade(String umIdcardFacade) {
        this.umIdcardFacade = umIdcardFacade;
    }

    public String getUmIdcardNegative() {
        return umIdcardNegative;
    }

    public void setUmIdcardNegative(String umIdcardNegative) {
        this.umIdcardNegative = umIdcardNegative;
    }

    @Override
    public String toString() {
        return "UserMessage{" +
                "umId=" + umId +
                ", umUid='" + umUid + '\'' +
                ", umName='" + umName + '\'' +
                ", umIsmarried=" + umIsmarried +
                ", umAddress='" + umAddress + '\'' +
                ", umProfessionTypeId=" + umProfessionTypeId +
                ", professionType=" + professionType +
                ", umCompanyName='" + umCompanyName + '\'' +
                ", umSalary=" + umSalary +
                ", umImportantPersonPhone='" + umImportantPersonPhone + '\'' +
                ", umImportantPersonName='" + umImportantPersonName + '\'' +
                ", umRelation='" + umRelation + '\'' +
                ", umIdcard='" + umIdcard + '\'' +
                ", umBankcard='" + umBankcard + '\'' +
                ", bankcard=" + bankcard +
                ", umIspass=" + umIspass +
                ", umInsertTime=" + umInsertTime +
                ", umScoer=" + umScoer +
                ", umDateRate=" + umDateRate +
                ", umYearRate=" + umYearRate +
                ", umCreditLimit=" + umCreditLimit +
                ", umIdcardFacade='" + umIdcardFacade + '\'' +
                ", umIdcardNegative='" + umIdcardNegative + '\'' +
                '}';
    }
}